/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.pstreets.practices.demo;

import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.mapdigit.practices.compositeui.WorkItem;
import com.pstreets.practices.demo.child.ChildWorkItem;

/**
 *
 * @author james
 */
@Singleton
public class DemoRootWorkItem extends WorkItem{
	 
	@Inject ChildWorkItem childWorkItem;
   public DemoRootWorkItem(){
    //   WorkItems.addNew(ChildWorkItem.class,ChildWorkItem.class.getName());
	   WorkItems.add(new ChildWorkItem());
   }
}
